package org.hj.modules.act.actmodel.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.activiti.engine.repository.Model;
import org.apache.ibatis.annotations.Param;
import org.hj.modules.util.PageData;

import java.util.List;
import java.util.Map;

/**
 * @author gbw
 * 2020/5/28
 */
public interface ActModelMapper extends BaseMapper<Model> {

    Map<Object, Object> findById(String id_);

    void edit(@Param("category") String category, @Param("id") String id);


    List<PageData> getpage(@Param("category") String category, @Param("no")Integer no, @Param("pageSize")Integer pageSize);

    int getTotal(String category);

    Map<Object, Object> findActRuTaskById(String id_);
}
